
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<%
    String path = request.getContextPath(); // /
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/upload/";
%>
<head>
    <title>Title</title>
</head>
<body>
    <c:forEach var="user" items="${sessionScope.userList1}" varStatus="s">
        <c:if test="${user.path !=null}">
            <img src="<%=basePath%>${user.path[0]}">
            <img src="<%=basePath%>${user.path[1]}">
        </c:if>
        <%--<img src="../admin/updaload/${user.path}">--%>
    </c:forEach>
</body>
</html>
